package com.rzl.expense.expense.service.impl;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.rzl.expense.expense.mapper.RptPrvRentBasesitePayableTowerMapper;
import com.rzl.expense.expense.domain.RptPrvRentBasesitePayableTower;
import com.rzl.expense.expense.service.IRptPrvRentBasesitePayableTowerService;

/**
 * 三方塔(应付)Service业务层处理
 * 
 * @author expense
 * @date 2025-03-11
 */
@Service
public class RptPrvRentBasesitePayableTowerServiceImpl implements IRptPrvRentBasesitePayableTowerService 
{
    @Autowired
    private RptPrvRentBasesitePayableTowerMapper rptPrvRentBasesitePayableTowerMapper;

    /**
     * 查询三方塔(应付)
     * 
     * @param payableId 三方塔(应付)主键
     * @return 三方塔(应付)
     */
    @Override
    public RptPrvRentBasesitePayableTower selectRptPrvRentBasesitePayableTowerByPayableId(String payableId)
    {
        return rptPrvRentBasesitePayableTowerMapper.selectRptPrvRentBasesitePayableTowerByPayableId(payableId);
    }

    /**
     * 查询三方塔(应付)列表
     * 
     * @param rptPrvRentBasesitePayableTower 三方塔(应付)
     * @return 三方塔(应付)
     */
    @Override
    public List<RptPrvRentBasesitePayableTower> selectRptPrvRentBasesitePayableTowerList(RptPrvRentBasesitePayableTower rptPrvRentBasesitePayableTower)
    {
        return rptPrvRentBasesitePayableTowerMapper.selectRptPrvRentBasesitePayableTowerList(rptPrvRentBasesitePayableTower);
    }

    /**
     * 新增三方塔(应付)
     * 
     * @param rptPrvRentBasesitePayableTower 三方塔(应付)
     * @return 结果
     */
    @Override
    public int insertRptPrvRentBasesitePayableTower(RptPrvRentBasesitePayableTower rptPrvRentBasesitePayableTower)
    {
        return rptPrvRentBasesitePayableTowerMapper.insertRptPrvRentBasesitePayableTower(rptPrvRentBasesitePayableTower);
    }

    /**
     * 修改三方塔(应付)
     * 
     * @param rptPrvRentBasesitePayableTower 三方塔(应付)
     * @return 结果
     */
    @Override
    public int updateRptPrvRentBasesitePayableTower(RptPrvRentBasesitePayableTower rptPrvRentBasesitePayableTower)
    {
        return rptPrvRentBasesitePayableTowerMapper.updateRptPrvRentBasesitePayableTower(rptPrvRentBasesitePayableTower);
    }

    /**
     * 批量删除三方塔(应付)
     * 
     * @param payableIds 需要删除的三方塔(应付)主键
     * @return 结果
     */
    @Override
    public int deleteRptPrvRentBasesitePayableTowerByPayableIds(String[] payableIds)
    {
        return rptPrvRentBasesitePayableTowerMapper.deleteRptPrvRentBasesitePayableTowerByPayableIds(payableIds);
    }

    /**
     * 删除三方塔(应付)信息
     * 
     * @param payableId 三方塔(应付)主键
     * @return 结果
     */
    @Override
    public int deleteRptPrvRentBasesitePayableTower(String onYear, String onMonth)
    {
        return rptPrvRentBasesitePayableTowerMapper.deleteRptPrvRentBasesitePayableTower(onYear,onMonth);
    }




    @Override
    public void batchRptPrvRentBasesitePayableTower(List<RptPrvRentBasesitePayableTower> list)
    {

         rptPrvRentBasesitePayableTowerMapper.batchRptPrvRentBasesitePayableTower(list);
    }


}
